import axios from './http'

export function queryall() {
    return axios.get('/dept/getDept');
}

export function updatedept(dept1){
    return axios.post('/dept/editDept',dept1);
}

export function adddept(dept){
    return axios.post('/dept/addDept',dept);
}